package com.thor.palmmall.rest.sales.input;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.thor.commons.entity.UCN;
import com.thor.palmmall.rest.common.ABill;

/**
 * 销售录入
 * 
 * @author NuoSa
 *
 */
public class ASalesInput extends ABill implements Serializable {

  private static final long serialVersionUID = -8151222247401182274L;

  private UCN store;
  private UCN tenant;
  private UCN contract;
  private UCN product;
  private long version;
  private Date versionTime;
  private String receiver;
  private boolean balance;
  private Date saleDate;
  private Integer saleCount;
  private List<ASalesInputLine> payments = new ArrayList<ASalesInputLine>();
  private List<String> attachments = new ArrayList<String>();

  public UCN getStore() {
    return store;
  }

  public void setStore(UCN store) {
    this.store = store;
  }

  public UCN getTenant() {
    return tenant;
  }

  public void setTenant(UCN tenant) {
    this.tenant = tenant;
  }

  public UCN getContract() {
    return contract;
  }

  public void setContract(UCN contract) {
    this.contract = contract;
  }

  public String getReceiver() {
    return receiver;
  }

  public void setReceiver(String receiver) {
    this.receiver = receiver;
  }

  public boolean isBalance() {
    return balance;
  }

  public void setBalance(boolean balance) {
    this.balance = balance;
  }

  public Date getSaleDate() {
    return saleDate;
  }

  public void setSaleDate(Date saleDate) {
    this.saleDate = saleDate;
  }

  public Integer getSaleCount() {
    return saleCount;
  }

  public void setSaleCount(Integer saleCount) {
    this.saleCount = saleCount;
  }

  public List<ASalesInputLine> getPayments() {
    return payments;
  }

  public void setPayments(List<ASalesInputLine> payments) {
    this.payments = payments;
  }

  public List<String> getAttachments() {
    return attachments;
  }

  public void setAttachments(List<String> attachments) {
    this.attachments = attachments;
  }

  public long getVersion() {
    return version;
  }

  public void setVersion(long version) {
    this.version = version;
  }

  public Date getVersionTime() {
    return versionTime;
  }

  public void setVersionTime(Date versionTime) {
    this.versionTime = versionTime;
  }

  public UCN getProduct() {
    return product;
  }

  public void setProduct(UCN product) {
    this.product = product;
  }

}
